#ifndef __086C06DD_5F98_4A89_9EE9_342F459F7630__
#define __086C06DD_5F98_4A89_9EE9_342F459F7630__

#include "../import/head.h"

namespace xos_sgsj
{

    class session;

    class protocol_common_heart
    {
    public:
        protocol_common_heart();
        ~protocol_common_heart();

    protected:
        int helper_heart( session * pSession, bool bCheck, bool bEncrypt );

    public:
        int proc( xos::i_buf * pBuf, session * pSession );
        int heart();
        
    };

} // xos_sgsj

#endif // __086C06DD_5F98_4A89_9EE9_342F459F7630__
